projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f14b7d3
)
places view: Don't spew needlessly
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 28 Aug 2015 16:15:39 +0000
(12:15 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 28 Aug 2015 16:15:39 +0000
(12:15 -0400)
The check here was obviously meant to filter out cancellations,
not warn for them.
gtk/gtkplacesview.c
patch
|
blob
|
history
diff --git
a/gtk/gtkplacesview.c
b/gtk/gtkplacesview.c
index afc114b30c3e07f4e4b5a9d5f418acf7ea922132..2792973221e4c27aa34fcda8e7593c89e68dbbbc 100644
(file)
--- a/
gtk/gtkplacesview.c
+++ b/
gtk/gtkplacesview.c
@@
-956,7
+956,7
@@
network_enumeration_next_files_finished (GObject *source_object,
if (error)
{
- if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED))
+ if (
!
g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED))
g_warning ("Failed to fetch network locations: %s", error->message);
g_clear_error (&error);